-
Home
-
Tourfic – Ultimate Travel Booking, Hotel Booking & Car Rental WordPress Plugin | WooCommerce Booking
-
2.13.13
-
Code
-
Classes
- Pricing
Total Complexity |
134 |
Dependencies |
5 |
Dependents |
6 |
Total lines |
362 |
Lines of code |
264 |
Logical lines of code |
158 |
Comment lines |
8 |
Methods |
24 |
Properties |
17 |
Methods 24
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
get_min_max_price_from_all_apartment() |
B |
40 |
24 |
53 |
get_min_max_price() |
B |
49 |
18 |
26 |
set_apartment_price() |
A |
46 |
16 |
34 |
set_additional_fees() |
A |
49 |
13 |
30 |
set_dates() |
A |
54 |
11 |
17 |
set_total_price() |
S |
54 |
7 |
21 |
get_availability() |
S |
59 |
6 |
12 |
get_discount() |
S |
63 |
5 |
9 |
calculate_discount() |
S |
62 |
4 |
11 |
set_persons() |
S |
66 |
4 |
8 |
get_adult_sale_price() |
S |
79 |
2 |
3 |
get_infant_sale_price() |
S |
79 |
2 |
3 |
get_infant_price() |
S |
79 |
2 |
3 |
get_child_sale_price() |
S |
79 |
2 |
3 |
get_child_price() |
S |
79 |
2 |
3 |
get_days() |
S |
79 |
2 |
3 |
get_adult_price() |
S |
79 |
2 |
3 |
get_total_price_html() |
S |
78 |
2 |
3 |
get_total_price() |
S |
79 |
2 |
3 |
get_apartment_price() |
S |
79 |
2 |
3 |
get_persons() |
S |
79 |
2 |
3 |
get_fees() |
S |
79 |
2 |
3 |
__construct() |
S |
75 |
1 |
4 |
instance() |
S |
80 |
1 |
3 |